don't use palette.dark for icons in share page
authorJyrki Gadinger <nilsding@nilsding.org>
Thu, 13 Feb 2025 13:10:36 +0000 (14:10 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 14 Feb 2025 13:23:14 +0000 (13:23 +0000)
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
src/gui/filedetails/NCInputTextEdit.qml
src/gui/filedetails/NCInputTextField.qml
src/gui/filedetails/ShareDetailsPage.qml
src/gui/tray/NCBusyIndicator.qml

index a2b95fc330dc6918c84cd39da86b62c9e3d4d4ee..24dacdd3a831dd9724614ebe3c29bea684aa7aca 100644 (file)
@@ -23,7 +23,7 @@ TextEdit {
     id: root
 
     readonly property color accentColor: palette.highlight
-    readonly property color secondaryColor: palette.dark
+    readonly property color secondaryColor: palette.placeholderText
     readonly property alias submitButton: submitButton
 
     clip: true
index 6a9b9f17023a4f18bcb8a933836b285e11a2954a..be1ad2558bce58e716bc30c8b4d4f4271b03abcb 100644 (file)
@@ -23,7 +23,7 @@ TextField {
     id: root
 
     readonly property color accentColor: Style.ncBlue
-    readonly property color secondaryColor: palette.dark
+    readonly property color secondaryColor: palette.placeholderText
     readonly property alias submitButton: submitButton
     property bool validInput: true
 
index 2b2eb0b45ef15a077ef29eec1d1c937783645b96..79897f73f44bdeb91c365b9edb19f46882eb26fa 100644 (file)
@@ -277,7 +277,7 @@ Page {
                     horizontalAlignment: Image.AlignHCenter
                     fillMode: Image.Pad
 
-                    source: "image://svgimage-custom-color/edit.svg/" + palette.dark
+                    source: "image://svgimage-custom-color/edit.svg/" + palette.windowText
                     sourceSize.width: scrollContentsColumn.rowIconWidth
                     sourceSize.height: scrollContentsColumn.rowIconWidth
                 }
@@ -501,7 +501,7 @@ Page {
                     horizontalAlignment: Image.AlignHCenter
                     fillMode: Image.Pad
 
-                    source: "image://svgimage-custom-color/lock-https.svg/" + palette.dark
+                    source: "image://svgimage-custom-color/lock-https.svg/" + palette.windowText
                     sourceSize.width: scrollContentsColumn.rowIconWidth
                     sourceSize.height: scrollContentsColumn.rowIconWidth
                 }
@@ -607,7 +607,7 @@ Page {
                     horizontalAlignment: Image.AlignHCenter
                     fillMode: Image.Pad
 
-                    source: "image://svgimage-custom-color/calendar.svg/" + palette.dark
+                    source: "image://svgimage-custom-color/calendar.svg/" + palette.windowText
                     sourceSize.width: scrollContentsColumn.rowIconWidth
                     sourceSize.height: scrollContentsColumn.rowIconWidth
                 }
@@ -692,7 +692,7 @@ Page {
                     horizontalAlignment: Image.AlignHCenter
                     fillMode: Image.Pad
 
-                    source: "image://svgimage-custom-color/edit.svg/" + palette.dark
+                    source: "image://svgimage-custom-color/edit.svg/" + palette.windowText
                     sourceSize.width: scrollContentsColumn.rowIconWidth
                     sourceSize.height: scrollContentsColumn.rowIconWidth
                 }
index e57161897eef0696dd425e344c96f158781c87b3..583b787bcbe9d12b03b721d6600e4288fc4f6258 100644 (file)
@@ -19,7 +19,7 @@ import Style
 BusyIndicator {
     id: root
 
-    property color color: palette.dark
+    property color color: palette.windowText
     property string imageSource: "image://svgimage-custom-color/change.svg/"
 
     property int imageSourceSizeWidth: 64